/* 
 * Copyright (C) 2014 Realtek Semiconductor Corp.
 * All Rights Reserved.
 * 
 * This program is the proprietary software of Realtek Semiconductor
 * Corporation and/or its licensors, and only be used, duplicated,
 * modified or distributed under the authorized license from Realtek.
 * 
 * ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
 * THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
 * 
 */


#ifndef __MIB_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TABLE_H__
#define __MIB_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TABLE_H__

/* Table SIPAgentPerformanceMonitoringHistoryData attribute for STRING type define each entry length */

/* Table SIPAgentPerformanceMonitoringHistoryData attribute index */
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_ATTR_NUM (16)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_ENTITYID_INDEX ((MIB_ATTR_INDEX)1)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_INTERVALENDTIME_INDEX ((MIB_ATTR_INDEX)2)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_THRESHOLDDATA12ID_INDEX ((MIB_ATTR_INDEX)3)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TRANSACTIONS_INDEX ((MIB_ATTR_INDEX)4)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXINVITEREQS_INDEX ((MIB_ATTR_INDEX)5)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXINVITERETRANS_INDEX ((MIB_ATTR_INDEX)6)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXNONINVITEREQS_INDEX ((MIB_ATTR_INDEX)7)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXNONINVITERETRANS_INDEX ((MIB_ATTR_INDEX)8)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXRESPONSE_INDEX ((MIB_ATTR_INDEX)9)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_RXRESPONSERETRANSMISSIONS_INDEX ((MIB_ATTR_INDEX)10)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXINVITEREQS_INDEX ((MIB_ATTR_INDEX)11)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXINVITERETRANS_INDEX ((MIB_ATTR_INDEX)12)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXNONINVITEREQS_INDEX ((MIB_ATTR_INDEX)13)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXNONINVITERETRANS_INDEX ((MIB_ATTR_INDEX)14)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXRESPONSE_INDEX ((MIB_ATTR_INDEX)15)
#define MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TXRESPONSERETRANSMISSIONS_INDEX ((MIB_ATTR_INDEX)16)

/* Table SIPAgentPerformanceMonitoringHistoryData attribute len, only string attrubutes have length definition */
typedef struct {
	UINT16   EntityId;
	UINT8    IntervalEndTime;
	UINT16   ThresholdData12Id;
	UINT32   Transactions;
	UINT32   RxInviteReqs;
	UINT32   RxInviteRetrans;
	UINT32   RxNoninviteReqs;
	UINT32   RxNoninviteRetrans;
	UINT32   RxResponse;
	UINT32   RxResponseRetransmissions;
	UINT32   TxInviteReqs;
	UINT32   TxInviteRetrans;
	UINT32   TxNonInviteReqs;
	UINT32   TxNonInviteRetrans;
	UINT32   TxResponse;
	UINT32   TxResponseRetransmissions;
} __attribute__((packed)) MIB_TABLE_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_T;

#endif /* __MIB_SIPAGENTPERFORMANCEMONITORINGHISTORYDATA_TABLE_H__ */
